
let host = 'https://lmy-nine.vercel.app' // 默认是开发环境
// 区分生产和开发环境接口host
if (process.env.NODE_ENV === 'production') {
  host = 'https://zyxcl-music-api.vercel.app' // 生产环境域名
}

// 轮播图
export const bannerUrl = host + '/banner'

// 推荐歌单
export const personalizedUrl = host + '/personalized'

// 歌单详情
export const playlistDetailUrl = host + '/playlist/detail?timestamp=' + Date.now()

// 歌曲详情
export const songDetailUrl = host + '/song/detail'

// 歌词
export const lyricUrl = host + '/lyric'

// 音乐地址
export const songUrl = host + '/song/url'

// 评论
export const commentUrl = host + '/comment/music'
